<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-clue-edit" th:object="${clue}">
            <input id="clueId" name="clueId" th:field="*{clueId}"  type="hidden">
			<!-- <div class="form-group">	
				<label class="col-sm-3 control-label">提供线索者：</label>
				<div class="col-sm-8">
					<input id="userId" name="userId" th:field="*{userId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">对应启示信息：</label>
				<div class="col-sm-8">
					<input id="lostId" name="lostId" th:field="*{lostId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">线索详情：</label>
				<div class="col-sm-8">
					<input id="clueDetail" name="clueDetail" th:field="*{clueDetail}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">提供线索时间：</label>
				<div class="col-sm-8">
					<input id="publicTime" name="publicTime" th:field="*{publicTime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">线索相关图片：</label>
				<div class="col-sm-8">
					<input id="clueUrl" name="clueUrl" th:field="*{clueUrl}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">是否被采纳 0 未采纳 1已采纳：</label>
				<div class="col-sm-8">
					<input id="clueState" name="clueState" th:field="*{clueState}" class="form-control" type="text">
				</div>
			</div> -->
			<div class="form-group">	
			   
				<label class="col-sm-3 control-label">审核状态：</label>
				<div class="col-sm-8">
				 <select  name="checkState" id="checkState" class="form-control" th:field="*{checkState}" th:value="*{checkState}" >
                                <option th:selected="*{checkState=='0'}" value="0"> 未审核</option>
                                <option th:selected="*{checkState=='1'}" value="1">已审核</option>    
                                <option th:selected="*{checkState=='2'}" value="2">审核不通过</option>  
                  </select>
                  </div>
			</div>
			<!-- <div class="form-group">	
				<label class="col-sm-3 control-label">审核时间：</label>
				<div class="col-sm-8">
					<input id="checkDate" name="checkDate" th:field="*{checkDate}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">审核管理员：</label>
				<div class="col-sm-8">
					<input id="checkAdmin" name="checkAdmin" th:field="*{checkAdmin}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">删除状态：</label>
				<div class="col-sm-8">
					<input id="delFlag" name="delFlag" th:field="*{delFlag}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">发现地址：</label>
				<div class="col-sm-8">
					<input id="address" name="address" th:field="*{address}" class="form-control" type="text">
				</div>
			</div> -->
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "gxgw_modules/clue";
		$("#form-clue-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-clue-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
